<template>
<div class="page">
  <div class="top">
	<div class="topitem">
	  <div class="item" @click="jumpurl" data-url="/pages/instock/shouhuo">
	  		<image src="@/static/images/instock/shouhuo.png" alt=""></image>
	  		<div class="toptext">收货</div>
	  </div>
	  <div class="item" @click="jumpurl" data-url="/pages/instock/back">
	  		<image src="@/static/images/instock/back.png" alt=""></image>
	  		<div class="toptext">退回</div>
	  </div>
	  <div class="item" @click="jumpurl" data-url="/pages/instock/shangjia">
	  		<image src="@/static/images/instock/add.png" alt=""></image>
	  		<div class="toptext">上架</div>
	  </div>
	  
	  <!-- 
	  <div class="item" style="width:60px"></div> -->
	</div>
	<div class="top">
		<div class="topitem">
			<div class="item" @click="jumpurl" data-url="/pages/instock/otherin">
					<image src="@/static/images/instock/oin.png" alt=""></image>
					<div class="toptext">其他入库</div>
			</div>
		  <!-- <div class="item" @click="jumpurl" data-url="/pages/stockbill/progress_list?order_type=0">
		  		<image src="@/static/images/base/inlist.png" alt=""></image>
		  		<div class="toptext">收货列表</div>
		  </div>
		  <div class="item" @click="jumpurl" data-url="/pages/stockbill/list?order_type=1">
				<image src="@/static/images/instock/shangjialist.png" alt=""></image>
				<div class="toptext">上架列表</div>
		  </div> -->
		  
		 <div class="item" style="width:60px"></div> 
		</div>
	</div>
</div>
</div>
</template>

<script>
// 引入uni-ui组件
import {
  uniIcons
} from "@dcloudio/uni-ui"
export default {
  data() {
    return {
    }
  },
  components: {
	uniIcons
  },
  onLoad(){
  },
  methods: {
	  jumpurl(e) {
		uni.vibrateShort()
	    var url = e.currentTarget.dataset.url
	    uni.navigateTo({
	      url: url
	    });
	  }
  }
}
</script>
<style lang="less">
page {
  width: 100%;
  height: 100%;
  background: linear-gradient(179.88deg, #DCE9FE 0%, #FFFFFF 35%);
}
</style>